﻿<UserControl x:Class="MP3tunes.LockerPlayer.UserControls.AppMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource BaseForeground}"
    d:DesignHeight="480" d:DesignWidth="480">
    <UserControl.Resources>
        <DataTemplate x:Key="BlackListItemTemplate">
            <StackPanel Margin="0,0,0,5" HorizontalAlignment="Stretch" >


                <TextBlock Text="{Binding Name}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}" Foreground="{StaticResource BaseForeground}" />

            </StackPanel>
        </DataTemplate>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot"  Background="{StaticResource DefaultBackground}">
        <ListBox HorizontalAlignment="Stretch" Grid.Column="1"  Grid.Row="1"   
                              x:Name="menu"  SelectionChanged="menu_SelectionChanged"
                           
                             ItemsSource="{Binding}" VerticalAlignment="Top" 
                             ItemTemplate="{StaticResource BlackListItemTemplate}">



        </ListBox>
    </Grid>
</UserControl>
